home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / cnrtld.zip / CNRDTL.TXT < prev    next >
Text File  |  1992-11-07  |  2KB  |  67 lines

  1. Column Name: Advanced PM Programming
  2. Column Title: Introducing Containers
  3.  
  4.  
  5. Written by Guy Scharf. Published in the December issue of OS/2 Monthly.
  6. (c) Copyright 1992 Software Architects, Inc.
  7.  
  8.  
  9. <BIntroducing Containers>
  10.  
  11. OS/2 2.0 introduces four new controls-slider, value set,
  12. notebook, and container.  This month we will take a first
  13. look at containers.
  14.  
  15. First, what <Iis> a container?  You have seen containers-lots
  16. of them. The container control is one of the key
  17. components of the Workplace Shell.  A container displays
  18. to the user the items, or objects, in contains in a visual
  19. way.  Virtually everything you see on the OS/2 desktop
  20. before starting a program or opening a settings view is a
  21. container.
  22.  
  23. If you open the drives folder, select a drive, and open it,
  24. you will see <I>a container showing directories on the drive,
  25. arranged hierarchially.  This representation is called a tree
  26. view.  Select Open from the system menu again, press the
  27. right arrow button, and you can open Settings, Icon view,
  28. Tree view, and Details view.  These three views are all
  29. different ways a container can display the directories and
  30. files on a drive.
  31.  
  32. The container control supports five views of its contents:
  33.  
  34. Icon View     Icons or bitmaps with strings beneath. 
  35.               The Workplace Shell desktop normally
  36.               displays objects this way.
  37.  
  38. Name View     Icons or bitmaps with text to the right.
  39.  
  40. Text View     Text strings without any pictorial
  41.               representation.
  42.  
  43. Tree View     Icons or bitmaps with text to the right
  44.               and with a way to display a hierarchy
  45.               (often indicated by + and - signs).
  46.  
  47. Details View  Icons or bitmaps, text strings, numbers,
  48.               times, and/or dates.
  49.  
  50. Container windows support <Idirect manipulation>-the user
  51. can select items with the mouse and drag them around. 
  52. The user can drag items and drop them onto other
  53. containers, applications, or windows.
  54.  
  55. It is the container control that gives OS/2 2.0 and the
  56. Workplace Shell much of its flavor.
  57.  
  58. A container may change the way in which its contents are
  59. displayed by changing the view.  In the Workplace Shell,
  60. different views are typically seen by opening windows with
  61. that alternate view.  It is possible to change the view within
  62. a single window.  Only one view can be displayed in one
  63. container window at a time.
  64.  
  65.  
  66. The remainder of this article can be found in the December issue of OS/2 Monthly.
  67.